Skip to content

feat: use X-Forwarded-Proto/Host for generated urls behind a reverse proxy - #181

Merged
jasongdove merged 2 commits into
ErsatzTV:mainfrom
Ministorm3:forwarded-headers
Jul 31, 2026
Merged

feat: use X-Forwarded-Proto/Host for generated urls behind a reverse proxy#181
jasongdove merged 2 commits into
ErsatzTV:mainfrom
Ministorm3:forwarded-headers

Conversation

@Ministorm3

@Ministorm3 Ministorm3 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Generated URLs (channels.m3u entries, the xmltv link, and multi-variant playlist URIs) now use X-Forwarded-Proto/X-Forwarded-Host when present, so they work behind a TLS-terminating reverse proxy; without those headers, behavior is unchanged. Resolves the TODO: need scheme, host from reverse proxy in get_scheme_host.

I'm new to Rust and collaborating with Claude Code on this PR. Most of the testing and verification was done by the AI, so extra scrutiny in review is welcome.

@jasongdove
jasongdove merged commit dbc2028 into ErsatzTV:main Jul 31, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants